package com.cmict.data.system.controller.admin.user.vo.user;

import com.alibaba.excel.annotation.ExcelProperty;
import com.cmict.data.framework.excel.core.annotations.DictFormat;
import com.cmict.data.framework.excel.core.convert.DictConvert;
import com.cmict.data.system.enums.DictTypeConstants;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Set;


/**
 * 用户 Excel 导出 VO
 */
@Data
public class UserExcelVO {


    @ExcelProperty("登录账号")
    private String username;

    @ExcelProperty("用户昵称")
    private String nickname;

    @ExcelProperty("归属部门")
    private String deptName;

    @ExcelProperty("邮箱")
    private String email;

    @ExcelProperty("手机号码")
    private String mobile;

    @ExcelProperty(value = "性别", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.USER_SEX)
    private Integer sex;

    @ExcelProperty(value = "岗位")
    private String postNames;

    @ExcelProperty(value = "角色")
    private String roleNames;

    @ExcelProperty(value = "帐号状态", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.COMMON_STATUS)
    private Integer status;

    @ExcelProperty(value = "备注")
    private String remark;


}
